package com.killer.enums;

public enum ResultCode {

    UNAUTHORIZED(1000, "未经授权，无法访问"),
    OK(2000, "成功"),

    Failed(500,"失败");

    private int code;
    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
